<div id="content" class="clearfix">
  <h3><?php echo nl2br($this->title); ?></h3>
  <div class="section">
    <!--<H5 class=border>终端录入</H5>-->
    <p><span class="require">*</span>为必须输入项</p>
    <span class="require"><?php echo Yii::app()->user->getFlash('success');?></span>
<?php $form=$this->beginWidget('ActiveForm', array(
	'id'=>'infochange-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>false,
	),
)); ?>    
<!--    <form enctype="multipart/form-data" action="" method="post" >-->
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="normal">
        <tr>
          <th width="25%" align="left">
              <?php echo $form->label($model,'product_id'); ?>
              <?php if($model->isAttributeRequired('product_id')) echo CHtml::tag('span',array('class'=>'require'),'*')?>
          </th>
          <td>
			<?php echo $form->textField($model,'product_id',array('size'=>40,)); ?>
		  </td>
        </tr>
        <tr>
          <th width="25%" align="left"><?php echo $form->label($model,'product_name'); ?>
              <?php if($model->isAttributeRequired('product_name')) echo CHtml::tag('span',array('class'=>'require'),'*')?>
          </th>
          <td>
			<?php echo $form->textField($model,'product_name',array('size'=>40,)); ?>
	        <?php echo $form->error($model,'product_name'); ?>
		  </td>
        </tr>
        <tr>
          <th class="tleft">
              <?php echo $form->label($model,'specification'); ?>
              <?php if($model->isAttributeRequired('specification')) echo CHtml::tag('span',array('class'=>'require'),'*')?>
          </th>
          <td id="select">            
            <?php echo $form->textField($model,'specification',array('size'=>40,)); ?>
            <?php echo $form->error($model,'specification'); ?>
          </td>
        </tr>
        <tr>
          <th align="left">
              <?php echo $form->label($model,'producttype_code'); ?>
              <?php if($model->isAttributeRequired('producttype_code')) echo CHtml::tag('span',array('class'=>'require'),'*')?>
          </th>
          <td id="select">
            <?php echo $form->dropDownList($model,'producttype_code',Producttype::model()->getListDataByUserType('5'),array('prompt'=>'---------',)); ?>
            <?php echo $form->error($model,'producttype_code'); ?>
          </td>
        </tr>
      </table>
      <p class="inquiry">
      	<?php echo CHtml::submitButton('提交',array('class'=>'btn'))?>
      	<?php echo CHtml::button('返回',array('class'=>'btn','onclick'=>'window.location.href=\''.$this->createUrl('manager/product').'\''))?>
      </p>
<?php $this->endWidget(); ?>
<!--    </form>-->
    <div class="content-link"><?php echo CHtml::link('▲页面顶部','#wrapper');?></div>
    <!--div.section -->
  </div>
  <!--div#content -->
</div>
<!-- div#content end -->
